/*
 * Powered By free
 * Web Site: 
 * Since 2018 - 2022
 */
package com.menhai.personmanagement.mapper;

/**
 * @author free
 * @version 1.0
 * @since 2022/05/05 11:55
 */

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.menhai.personmanagement.entity.ReportHealthcheckVaccine;

@Mapper
public interface ReportHealthcheckVaccineMapper{
	
	/**
	 * insert
	 * 
	 * @author longenyue
	 * @date 2022/05/05 11:55
	 * @param reportHealthcheckVaccine
	 * @return Integer
	 */
	public Integer insert(ReportHealthcheckVaccine reportHealthcheckVaccine);
	
	/**
	 * update
	 * 
	 * @author longenyue
	 * @date 2022/05/05 11:55
	 * @param reportHealthcheckVaccine
	 * @return Integer
	 */
	public Integer update(ReportHealthcheckVaccine reportHealthcheckVaccine);

	/**
	 * batchUpdate
	 * 
	 * @author longenyue
	 * @date 2022/05/05 11:55
	 * @param reportHealthcheckVaccine
	 * @return Integer
	 */
	public Integer batchUpdate(ReportHealthcheckVaccine reportHealthcheckVaccine);
	
	/**
	 * delete
	 * 
	 * @author longenyue
	 * @date 2022/05/05 11:55
	 * @param id
	 * @return Integer
	 */
	public Integer delete(String id);
	
	/**
	 * getOneByCondition
	 * 
	 * @author longenyue
	 * @date 2022/05/05 11:55
	 * @param reportHealthcheckVaccine
	 * @return Integer
	 */
	public ReportHealthcheckVaccine getOneByCondition(ReportHealthcheckVaccine reportHealthcheckVaccine);
	
	/**
	 * getListByCondition
	 * 
	 * @author longenyue
	 * @date 2022/05/05 11:55
	 * @param reportHealthcheckVaccine
	 * @return Integer
	 */
	public List<ReportHealthcheckVaccine> getListByCondition(ReportHealthcheckVaccine reportHealthcheckVaccine);
	
	/**
	 * getCountByCondition
	 * 
	 * @author longenyue
	 * @date 2022/05/05 11:55
	 * @param reportHealthcheckVaccine
	 * @return Integer
	 */
	public Integer getCountByCondition(ReportHealthcheckVaccine reportHealthcheckVaccine);
	
	/**
	 * getOneById
	 * 
	 * @author longenyue
	 * @date 2022/05/05 11:55
	 * @param id
	 * @return Integer
	 */
	public ReportHealthcheckVaccine getOneById(String id);
	
	/**
	 * 获取非免疫规划预防接种列表
	 * @param healthCheckNumber
	 * @return
	 */
	public List<ReportHealthcheckVaccine> getHealthCheckVaccineList(@Param("healthCheckNumber")String healthCheckNumber);


	/**
	 * 根据体检编号删除记录
	 * @param healthCheckNumber
	 * @return
	 */
	public Integer deleteByHealthCheckNumber(@Param("healthCheckNumber")String healthCheckNumber);
}
